#ifndef _COLOR_HPP_
#define _COLOR_HPP_

#include <cmath>

#include <boost/property_tree/ptree.hpp>

#include "definitions.hpp"

using boost::property_tree::ptree;

class Color
{
public:
    real_t r,g,b;
};

class Material
{
public:
    Color     diffuse;
    Color     spectecular;

    real_t    spect_pow;
    
    real_t     n; //  refraction
    real_t     opacity;
    real_t     reflection;
    ////////

    void ParsePtree( ptree & tree);
};




#endif // _COLOR_HPP_
